projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3829554
)
label: Don't add in the allocation to our clip again
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Tue, 30 Sep 2014 18:32:47 +0000
(12:32 -0600)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Tue, 30 Sep 2014 19:43:36 +0000
(13:43 -0600)
_gtk_widget_set_simple_clip already takes the allocation into account,
so we don't need to do it here.
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index 024db06884476e042d831af5381785b0985d2016..bd92d8c412576565a430be3e7baaede8ea746a09 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-4053,7
+4053,6
@@
gtk_label_size_allocate (GtkWidget *widget,
}
gtk_label_get_ink_rect (label, &clip_rect);
- gdk_rectangle_union (&clip_rect, allocation, &clip_rect);
_gtk_widget_set_simple_clip (widget, &clip_rect);
}